.workbenchLayout {
  min-height: calc(100vh - 80px);
  max-height: calc(100vh - 80px);
  background: #ffffff;
  margin: 8px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sider {
  background: #f8fafc;
  border-right: 1px solid #edf2f7;
  flex: 0 0 220px !important;
  max-width: 220px !important;
  min-width: 220px !important;
  width: 220px !important;
}

.content {
  flex: 1;
  padding: 20px;
  background: #ffffff;
  overflow: visible;
}

.menuItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 48px;
  transition: all 0.3s;
  font-size: 14px;
}

.searchBar {
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #edf2f7;
}

.table-striped {
  background-color: #f8fafc;
}

.sider :global(.ant-menu) {
  height: calc(100vh - 80px);
  overflow-y: auto;
  border-right: none;
  padding: 12px 0;
}

.sider :global(.ant-menu)::-webkit-scrollbar {
  width: 4px;
}

.sider :global(.ant-menu)::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 4px;
}

.sider :global(.ant-menu)::-webkit-scrollbar-track {
  background: transparent;
}

.sider :global(.ant-menu-item) {
  margin: 4px 12px !important;
  width: calc(100% - 24px) !important;
  border-radius: 6px;
  color: #4a5568;
}

.sider :global(.ant-menu-item:hover) {
  background-color: #edf2f7 !important;
  color: #2d3748;
}

.sider :global(.ant-menu-item.ant-menu-item-selected) {
  background-color: #e6f7ff !important;
  color: #1890ff;
}

.menuItem :global(.ant-badge) {
  margin-left: auto;
}

.menuItem :global(.ant-badge .ant-badge-count) {
  background: #1890ff;
  box-shadow: none;
  font-size: 12px;
  height: 20px;
  min-width: 20px;
  line-height: 20px;
  padding: 0 6px;
  border-radius: 10px;
}

.content :global(.ant-card) {
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #edf2f7;
}

.content :global(.ant-table-wrapper) {
  border-radius: 8px;
  overflow: visible;
}

.content :global(.ant-table-thead > tr > th) {
  background: #f8fafc;
  color: #2d3748;
  font-weight: 500;
}

.content :global(.ant-table-tbody > tr > td) {
  color: #4a5568;
}

.searchBar :global(.ant-input-search .ant-input) {
  border-radius: 6px 0 0 6px;
  border-color: #e2e8f0;
}

.searchBar :global(.ant-input-search .ant-input:hover),
.searchBar :global(.ant-input-search .ant-input:focus) {
  border-color: #1890ff;
  box-shadow: none;
}

.searchBar :global(.ant-input-search .ant-btn) {
  border-radius: 0 6px 6px 0;
  height: 32px;
}

/* 分页样式 */
.content :global(.ant-table-pagination.ant-pagination) {
  position: relative !important;
  margin: 8px 0 0 !important;
  padding: 12px 24px;
  width: 100%;
  display: flex;
  align-items: center;
}

/* 调整表格容器样式 */
.content :global(.ant-table-container) {
  border-radius: 8px;
  overflow: hidden;
}

/* 调整表格外边框样式 */
.content :global(.ant-table-wrapper) {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #edf2f7;
}

/* 分页文字样式 */
.content :global(.ant-pagination-total-text) {
  margin-right: 12px;
  color: #4a5568;
  font-size: 13px;
}

/* 分页按钮样式 */
.content :global(.ant-pagination-item),
.content :global(.ant-pagination-prev),
.content :global(.ant-pagination-next) {
  background: #ffffff;
  border-radius: 4px;
  border-color: #e2e8f0;
  transition: all 0.3s;
}

.content :global(.ant-pagination-item:hover),
.content :global(.ant-pagination-prev:hover),
.content :global(.ant-pagination-next:hover) {
  border-color: #1890ff;
  background: #f0f7ff;
}

.content :global(.ant-pagination-item-active) {
  background: #1890ff;
  border-color: #1890ff;
}

.content :global(.ant-pagination-item-active a) {
  color: #ffffff;
}

.content :global(.ant-pagination-options) {
  margin-left: auto;  /* 将选项推到右边 */
}

/* 表格滚动条样式 */
.content :global(.ant-table-body)::-webkit-scrollbar {
  display: none;
}

.content :global(.ant-table-body) {
  overflow: hidden !important;
}

.content :global(.ant-table-pagination) {
  position: relative !important;
  margin: 16px 0 0 !important;
}

/* 子菜单样式 */
.sider :global(.ant-menu-sub) {
  background: transparent !important;
}

.sider :global(.ant-menu-sub .ant-menu-item) {
  padding-left: 48px !important;
  height: 40px !important;
  line-height: 40px !important;
  font-size: 13px;
}

/* 展开箭头样式 */
.sider :global(.ant-menu-submenu-arrow) {
  color: #4a5568;
}

.sider :global(.ant-menu-submenu-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow) {
  color: #1890ff;
}

/* 展开项标题样式 */
.sider :global(.ant-menu-submenu-title) {
  margin: 4px 12px !important;
  border-radius: 6px;
}

.sider :global(.ant-menu-submenu-title:hover) {
  background-color: #edf2f7 !important;
  color: #2d3748;
}

/* 选中的子菜单项样式 */
.sider :global(.ant-menu-sub .ant-menu-item-selected) {
  background-color: #e6f7ff !important;
}